package com.example.whm.model;

import java.io.Serializable;
import java.util.Date;

public class InterActive implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	String id;

	String userid;
	int category;
    int state;
	String detail;
	int like_num=0;
	String username;
	String createtime=new Date().toLocaleString();
	
	
	
	
	


	public int getState() {
		return state;
	}







	public void setState(int state) {
		this.state = state;
	}







	public String getId() {
		return id;
	}







	public void setId(String id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}







	public void setUserid(String userid) {
		this.userid = userid;
	}







	public int getCategory() {
		return category;
	}







	public void setCategory(int category) {
		this.category = category;
	}



	public String getDetail() {
		return detail;
	}







	public void setDetail(String detail) {
		this.detail = detail;
	}







	public int getLike_num() {
		return like_num;
	}







	public void setLike_num(int like_num) {
		this.like_num = like_num;
	}







	public String getUsername() {
		return username;
	}







	public void setUsername(String username) {
		this.username = username;
	}







	public String getCreatetime() {
		return createtime;
	}







	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}




	
	
	
	
	
	
	



	public InterActive(String userid, int category, String detail,
			int like_num, String username) {
		super();
		this.userid = userid;
		this.category = category;
		this.detail = detail;
		this.like_num = like_num;
		this.username = username;
	}







	public InterActive() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}